$item-mt : 22px;
$input-bd-color : #d3d3d3;

.header-bar{
  width: 100%;
  height: 100px;
  a{
    @include unstyled-link();
  }

  .logo{
    a{
      position: relative;
      display: block;
      width: 55px;
      height: 55px;
      float: left;
      overflow: hidden;
      text-align: left;
      text-indent: -9999em;
      margin-top: $item-mt;
      background: #ffffff;
    }
    a:before{
      display: block;
      content: ' ';
      width: 55px;
      height: 55px;
      background: url('../images/site-logo.png');
    }
  }

  .nav{
    float: left;
    width: 740px;
    height: 100%;
    margin-left: 80px;

    .menu{
      display: block;
      height: inherit;
      @include horizontal-list();
      float: right;
      margin-top: $item-mt;

      a{
        display: block;
        height: 68px;
        line-height: 68px;
        height: inherit;
        padding: 0 1em;
      }
      a:hover{
        color:$primary-color;
      }

    }
  }

  .search{
    float: right;
    margin-top: $item-mt;
    input{
      height: 48px;
      width: 200px;
      padding: 0 10px;
      margin-top: 8px;
      outline: none;
      border:1px solid $input-bd-color;
    }

    input:focus{
      border:1px solid $primary-color;
    }

    input:focus + button{
      border:  1px solid $primary-color;
      border-left: none;
    }
    
    button{
      height: 50px;
      width: 50px;
      display: block;
      float: right;
      margin-top: 8px;
      padding: 10px;
      margin-left: -4px;
      border-width: 1px;
      outline: none;
      cursor: pointer;
      background: #ffffff;
      border:1px solid $input-bd-color;
      border-left: none;
    }
    button:hover{
      background: $primary-color;
      color: #ffffff;
    }
  }
}